<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page import="java.util.ArrayList,edu.student.models.*, com.opensymphony.xwork2.ActionContext,java.util.Map,java.util.List" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="/static/jquery-1.3.1.js"></script>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

</head>
<body>
<h2>Release grades for user</h2>
<s:form action="ModifyGrades">
<table id="text" align="center">
<tr>
<!-- takes student roll number as input -->
<td><s:textfield name="rollNo" label = "RollNo"  size="20" id="rollNo" readonly="true" /></td>
<!-- displays the semester for which student has enrolled -->
<td><s:textfield name="semesterName" label = "Semester"  size="20" id="semesterName" readonly="true" /></td>
<!-- displays the courses for which student is enrolled -->
<td><s:textfield name="subjectName" label = "Subject"  size="20" id="subjectName" readonly="true"/></td>
</tr>
<tr>
<td><s:textfield name="grade" label = "Grade"  size="20" id="grade"/></td>
</tr>
<tr>
<td><s:textfield name="gradePt" label = "Grade Point"  size="20" id="gradePt"/></td>
</tr>
<tr>
<td><s:textfield name="result" label = "Result"  size="20" id="result"/></td>
</tr>
<tr>
</tr>
</table>
<s:submit name="commandButton" value="Save" id = "mysubmit" style="height: 30px; width: 200px" >
</s:submit>
</s:form>
<s:form action="back" align="right" name = "Back">
<s:submit name = "commandButton" value="Back to Admin Home" id = "mysubmit" style="height: 30px; width: 200px">
</s:submit></s:form>
</body>
</html>